<?php
// +----------------------------------------------------------------------
// | ThinkPHP [ WE CAN DO IT JUST THINK ]
// +----------------------------------------------------------------------
// | Copyright (c) 2006~2018 http://thinkphp.cn All rights reserved.
// +----------------------------------------------------------------------
// | Licensed ( http://www.apache.org/licenses/LICENSE-2.0 )
// +----------------------------------------------------------------------
// | Author: liu21st <liu21st@gmail.com>
// +----------------------------------------------------------------------
use think\facade\Route;

Route::get('think', function () {
    return 'hello,ThinkPHP5!';
});

Route::get('hello/:name', 'info/hello');

//后台路由
Route::group('admin',function (){
    Route::rule('/','admin/login/login');
    Route::rule('index','admin/index/index');
    Route::rule('welcome','admin/index/welcome');
    Route::rule('lst','admin/info/lst');
    Route::rule('test','admin/info/test');
    Route::rule('getDatas','admin/info/getDatas');
    Route::rule('add','admin/info/add');
    Route::rule('edit','admin/info/edit');
    Route::rule('selectSeat','admin/api/getSelectSeat');
    Route::rule('saveSeatInfo','admin/api/saveSeatInfo');
    Route::rule('repeat','admin/api/repeat');
    Route::rule('record','admin/api/record');
    Route::rule('getMoney','admin/api/getMoney');
    Route::rule('getCost','admin/api/getCost');
    Route::rule('excelLst','admin/excels/lst');
    Route::rule('update','admin/excels/update');
    Route::rule('excelUp','admin/excels/ExcelUp');
    Route::rule('excelDel','admin/excels/del');
    Route::rule('getExcelDatas','admin/excels/getExcelDatas');
    Route::rule('moneyLst','admin/money/lst');
    Route::rule('moneyAdd','admin/money/add');
    Route::rule('moneyEdit','admin/money/edit');
    Route::rule('getMoneyDatas','admin/money/getMoneyDatas');
});
return [

];
